package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author ms
 * @since 2023-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_LOT_USAGE_FIT")
@ApiModel(value="PcLotUsageFit对象", description="")
public class PcLotUsageFit implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "序号")
    private BigDecimal seqNo;

    @ApiModelProperty(value = "部位")
    private String partName;

    @ApiModelProperty(value = "段")
    private Integer segment;

    @ApiModelProperty(value = "材料ID")
    private String mtlNo;

    @ApiModelProperty(value = "材料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "材料名称")
    private String mtlName;

    @ApiModelProperty(value = "材料规格")
    private String mtlSpec;

    @ApiModelProperty(value = "材料单位")
    private String mtlUnit;

    @ApiModelProperty(value = "材料类型")
    private String mtlTypeNo;

    @ApiModelProperty(value = "总用量")
    private BigDecimal ttlUsage;

    private String subMtlNo;

    @ApiModelProperty(value = "贴合材料类型")
    private String subMtlTypeNo;

    @ApiModelProperty(value = "贴合材料名称")
    private String subMtlName;

    @ApiModelProperty(value = "贴合材料颜色")
    private String subMtlColor;

    @ApiModelProperty(value = "贴合材料规格")
    private String subMtlSpec;

    @ApiModelProperty(value = "贴合材料单位")
    private String subMtlUnit;

    private BigDecimal percent;

    private String purFlag;

    @ApiModelProperty(value = "贴合材料总用量")
    private BigDecimal subTtlUsage;

    private String mtlProperty;


}
